// import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import { Provider } from "react-redux";
import { PersistGate } from "redux-persist/integration/react";
import { store, persistor } from "@/store/index.ts";
import "@/styles/reset.scss";
import "@/styles/common.scss";
import "@/styles/theme/index.scss"

ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
	// 严格模式
	// <React.StrictMode>
	<Provider store={store}>
		<PersistGate persistor={persistor}>
			<App />
		</PersistGate>
	</Provider>
	// </React.StrictMode>
);
